<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="对于GaussDB(DWS) 8.1.3版本，执行备份任务时，因GaussDB(DWS)软件处理异常，备份任务失败">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="DWS_00109.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="DWS_00121">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>对于GaussDB(DWS) 8.1.3版本，执行备份任务时，因GaussDB(DWS)软件处理异常，备份任务失败</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="DWS_00121"></a><a name="DWS_00121"></a>
  <h1 class="topictitle1">对于GaussDB(DWS) 8.1.3版本，执行备份任务时，因GaussDB(DWS)软件处理异常，备份任务失败</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle"><span style="color:#5B9BD5;">故障现象</span></h4>
    <p>GaussDB(DWS) 8.1.3版本使用客户端部署到生产主机和独立物理服务器场景下执行备份任务，任务失败，任务详情中显示“Roach命令执行失败”。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle"><span style="color:#5B9BD5;">可能原因</span></h4>
    <p>在数据备份完成后，GaussDB(DWS)备份进程还未完全退出，上传进程就被拉起来了，导致业务处理冲突。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle"><span style="color:#5B9BD5;">处理建议</span></h4>
    <ol>
     <li><span>登录下发备份命令的节点。</span></li>
     <li id="DWS_00121__li1047516520486"><a name="DWS_00121__li1047516520486"></a><a name="li1047516520486"></a><span>执行以下命令进入日志文件目录。</span><p></p><pre class="screen">cd /opt/DataBackup/ProtectClient/ProtectClient-E/slog/Plugins/GeneralDBPlugin/</pre> <p></p></li>
     <li id="DWS_00121__li88419461500"><a name="DWS_00121__li88419461500"></a><a name="li88419461500"></a><span>执行<strong>grep {任务ID} dws.log | grep "Backup failed</strong><strong>"</strong>命令，查看错误日志文件中是否包含以下错误信息：</span><p></p><p>Failed to do gs roach. Roach operation backup failed</p> <p>示例如下：</p> <p><span><img src="zh-cn_image_0000002164757458.png"></span></p>
      <ul>
       <li>如果包含错误信息，请重新执行一次备份任务。</li>
       <li>如果不包含错误信息，请执行<a href="#DWS_00121__li184701438164418">4</a>。</li>
      </ul> <p></p></li>
     <li id="DWS_00121__li184701438164418"><a name="DWS_00121__li184701438164418"></a><a name="li184701438164418"></a><span>登录已部署客户端的GaussDB(DWS)的其他CN节点，执行<a href="#DWS_00121__li1047516520486">2</a>~<a href="#DWS_00121__li88419461500">3</a>。如果所有节点都不包含该错误信息，请收集日志并联系华为技术支持工程师协助处理。</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="DWS_00109.html">常见问题</a>
    </div>
   </div>
  </div>
 </body>
</html>